package com.bw.crop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.crop.domain.SysCropStash;
import com.bw.crop.service.SysCropStashService;
import com.bw.crop.mapper.SysCropStashMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author 86198
* @description 针对表【sys_crop_stash】的数据库操作Service实现
* @createDate 2024-05-25 12:49:32
*/
@Service
public class SysCropStashServiceImpl extends ServiceImpl<SysCropStashMapper, SysCropStash>
    implements SysCropStashService{
    @Autowired
    private SysCropStashMapper sysCropStashMapper;


    @Override
    public List<SysCropStash> getlist() {
        return sysCropStashMapper.getlist();
    }

    @Override
    public Integer getOneNum(String name,Integer fsid,Integer sid) {
        return baseMapper.getOneNum(name,fsid,sid);
    }

    @Override
    public List<SysCropStash> getNumList(String cname,Integer sid,Integer fsid) {
        return baseMapper.getNumList(cname,sid,fsid);
    }

    @Override
    public List<SysCropStash> getCropList() {
        return baseMapper.getCropList();
    }

    @Override
    public List<SysCropStash> getlistxun(Integer s1, Integer s2) {
        return baseMapper.getlistxun(s1,s2);
    }
}




